	//
	//  GaoCvcIlStyle.m
	//  JsoMediaCaptureViewController
	//
	//  Created by Gikki Ares on 2020/9/25.
	//

#import "JsCvcIlStyle.h"

@implementation Prefix(CvcIlStyle)

+ (Prefix(CvcIlStyle) *)defaultStyle {
	Prefix(CvcIlStyle) * style = [Prefix(CvcIlStyle) new];
	style.imageViewFrame = CGRectZero;
	style.cellSize = CGSizeMake(50, 50);
	style.titleFont = [UIFont systemFontOfSize:12];
	
	if (@available(iOS 13.0, *)) {
		style.titleColor = [UIColor labelColor];
	} else {
			// Fallback on earlier versions
		style.titleColor = [UIColor whiteColor];
	}
	style.cellBackgroundColor = [UIColor clearColor];
	return style;
}

+ (Prefix(CvcIlStyle) *)darkModeStyle {
	Prefix(CvcIlStyle) * style = [Prefix(CvcIlStyle) new];
	style.imageViewFrame = CGRectZero;
	style.cellSize = CGSizeMake(50, 50);
	style.titleFont = [UIFont systemFontOfSize:12];
	style.titleColor = [UIColor whiteColor];
	
	style.cornerRadius = 5;
	style.borderWidth = 1;
	style.borderColor = [UIColor lightGrayColor];
	style.cellBackgroundColor = [UIColor blackColor];
	style.isUseDefaultShadow = YES;
	return style;
}

@end
